<h3>Affiche des photos de la gallerie <strong><?php echo $gallery->getTitle() ?></strong></h3>

<p>
 <?php echo link_to('&lt;&lt; retour aux galleries', 'gallery/index') ?>&nbsp; 
 <?php echo link_to('ajouter des photos', 'gallery/addPictures?gallery_id='.$gallery->getId()) ?>
</p>

<div id="sf_admin_container" class="clearfix">

<?php foreach ($pictures as $picture): ?>
<div class="vignette">
<p>
  <?php echo image_tag('/admin/uploads/galleries/gallery_'.$gallery->getId().'/thumbnail/'.$picture->getPath()) ?>
</p>
<p>
  <?php echo link_to('supprimer', 'gallery/deletePicture?id='.$picture->getId().'&gallery_id='.$gallery->getId(), 'confirm="Etes vous sûr de vouloir supprimer cette image ?" class="delete"') ?>
</p>
</div>
<?php endforeach; ?>

</div>